package com.yxlgateway.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yxlcommon.common.pojo.DemandFormat;
import com.yxlcommon.common.pojo.RespBean;

import java.util.List;

public interface DemandFormatService extends IService<DemandFormat> {
    RespBean<List<DemandFormat>> selectFormatByType(Byte type);

    RespBean<IPage> getFormatByPage(Integer currentPage, Integer size, DemandFormat demandFormat);

    RespBean<DemandFormat> getFormatById(Integer demandFormatId);

    RespBean<Integer> updateFormatById(DemandFormat demandFormat);

    RespBean<Integer> addFormat(DemandFormat demandFormat);

    RespBean<Integer> deleteFormatById(DemandFormat demandFormat);
}
